//1.医院设置中 获取分页列表请求的 参数类型 
export interface getHosSetListParamsType {
    page: number,
    limit: number,
    hosname?: string,
    hoscode?: string
}


//2.医院设置中,获取分页列表请求的 返回值类型

//返回值的Records中每一项的类型
export interface getHosSetListItemsType {
    id: number,
    createTime: string,
    updateTime: string,
    isDeleted: number,
    param: object,
    hosname: string,
    hoscode: string,
    apiUrl: string,
    signKey: string,
    contactsName: string,
    contactsPhone: string,
    status: 0 | 1
}

//返回值的Records的类型
export type getHosSetListRecordsType = getHosSetListItemsType[]

//返回的完整类型
export interface getHosSetListReturnType {
    records: getHosSetListRecordsType,
    total: number,
    size: number,
    current: number,
    orders: any[],
    hitCount: boolean,
    searchCount: boolean,
    pages: number
}


//3.医院设置中 添加医院的参数类型 因为不需要返回值所以不用定义返回值类型
export interface addHospitalParamType {
    apiUrl: string,
    contactsName: string,
    contactsPhone: string,
    hoscode: string,
    hosname: string,
}


//4.医院设置中 修改医院请求的参数类型 比添加医院多一个id 所以可以继承
export interface updateHospitalParamType extends addHospitalParamType {
    id:string
}

 